package one.stand.service;

import one.stand.model.ResultModel;
import one.stand.request.NoticeRequest;
import one.stand.response.NoticeResponse;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author Administrator
 */
public interface NoticeService {

    /**
     * 查询企业公告列表
     *
     * @param request
     * @return
     */
    ResultModel<Map<String, Object>> selectNoticeList(@RequestBody NoticeRequest request);

    /**
     * 查询企业公告信息
     *
     * @param request
     * @return
     */
    ResultModel<NoticeResponse> getNoticeInfo(@RequestBody NoticeRequest request);

    /**
     * 新增/修改企业公告
     *
     * @param request
     * @return
     */
    ResultModel<Boolean> insertNotice(@RequestBody NoticeRequest request);

    /**
     * 删除企业公告
     *
     * @param request
     * @return
     */
    ResultModel<Boolean> delNotice(@RequestBody NoticeRequest request);
}
